package com.bawei.exam57.room

import androidx.room.Dao
import androidx.room.Insert
import androidx.room.Query

@Dao
interface JfDao {
    //增删改查

    @Insert
    fun insert(jf: JfEntity)
    @Query("select * from jf")
    fun all(): MutableList<JfEntity>

    @Query("select * from jf where out_or_in = :outin")
    fun outin(outin: Boolean):MutableList<JfEntity>
}